<template>
  <div class="map">
    <div class="map-left">
        <div class="map-left-desc">
            <span>太原市</span>
            <span class="hotel-address">酒店地址：</span>
        </div>
        <div class="address">
            太原市迎泽区台骀山5A级风景区
        </div>
    </div>
    <router-link tag="div" class="map-right" to="map" append> 
        地图><span class="iconfont"></span>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'DetailMap',
  data(){
    return{
    
    }
  }
}
</script>

<style lang="stylus" scoped>
 .map   
    width 100%
    display flex      //flex布局
    height 1.2rem
    padding .3rem
    z-index 999
    background-color #fff
    .map-left
        flex 1
        line-height .6rem
        .map-left-desc
            font-weight bold
            .hotel-address
                border .02rem solid #cccccc
                padding .1rem .2rem
                background-color #eee
                margin-left .2rem
    .map-right 
        line-height .6rem
        margin .3rem
        padding-right .4rem
</style>